package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.RolePermission;
import cn.wolfcode.car.qo.RolePermissionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRolePermissionService {
    int delete(Long id);

    int save(RolePermission record);

    RolePermission get(Long id);

    PageInfo<RolePermission> list(RolePermissionQueryObject qo);

    int update(RolePermission record);

    List<RolePermission> listAll();

    List<RolePermission> listForLeftJoin();

    void deleteByRoleId(Long id);
}
